package com.hzh.page.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzh.page.pojo.AuthenticationMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper
 * @author chenzw
 * @date 2022-11-01
 */
@Mapper
public interface AuthenticationMenuMapper extends BaseMapper<AuthenticationMenuEntity> {

    List<Integer> selectChildIds(@Param("id") Integer id);
    List<Integer> getRoleIdsByRights(@Param("rights") List<String> rights);

}
